package com.xian.cloud.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: cloud-demo
 * @description:
 * @author: xlr
 * @create: 2019-08-08 16:26
 **/
@Component
@ConfigurationProperties(prefix = "netty")
@Data
public class NettyConfig {


    private int port;
}
